<?php
/**
 * 评价任务表模型
*/

namespace app\common\model;

use think\model\concern\SoftDelete;

class UserAppraiseOrder extends Model
{
    use SoftDelete;
    public $softDelete = true;
    protected $name = 'user_appraise_order';
    protected $autoWriteTimestamp = true;

    //可搜索字段
    protected $searchField = [];

    //可作为条件的字段
    protected $whereField = [];

    //可做为时间
    protected $timeField = [];

    //0 待完成 1进行中 2已完成 -1失效获取器
    public function getStatusTextAttr($value, $data)
    {
        return self::BOOLEAN_TEXT[$data['status']];
    }

    

    
}
